package cn.signalpha.modules.shop.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品视图实体类
 *
 * @author suguangjun
 */
@Data
@ApiModel(value = "GoodsListVO对象", description = "商品")
public class GoodsListVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "商品id")
	private Long id;

	@ApiModelProperty(value = "商品名称")
	private String name;

	@ApiModelProperty(value = "商品简介")
	private String brief;

	@ApiModelProperty(value = "商品封面")
	private String img;

	@ApiModelProperty(value = "商品价")
	private Double goodsPrice;

	@ApiModelProperty(value = "市场价")
	private Double marketPrice;

	@ApiModelProperty(value = "销量")
	private Integer salesVolume;

	@ApiModelProperty(value = "虚拟销量")
	private Integer salesVolumeVirtual;

	@ApiModelProperty(value = "商品库存")
	private Integer stock;

	@ApiModelProperty(value = "标签，逗号分隔")
	private String tagName;

}
